home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / lan / netpak23.zip / UPGRADE.BAT < prev    next >
DOS Batch File  |  1990-08-14  |  746b  |  34 lines

  1. @echo off
  2. :CHECKA
  3.   howbout a:\command.com >NUL
  4.   if errorlevel 1 goto CHECKC
  5.   goto DO_A
  6. :CHECKC
  7.   howbout c:\command.com >NUL
  8.   if errorlevel 1 goto END
  9.   goto DO_C
  10. :DO_A
  11.   status Copying new driver to a: drive...
  12.   howbout a:\lan >NUL
  13.   if errorlevel 1 goto NOLAN
  14.   ncopy y:net3.com a:\lan\net3.com
  15.   goto NEWA
  16. :NOLAN
  17.   status You need a subdirectory called a:\lan on your boot disk.
  18.   pause
  19. :NEWA
  20.   newauto a:\autoexec.bat -N
  21.   goto CHECKC
  22. :DO_C
  23.   status Copying new driver to c: drive...
  24.   howbout c:\dos >NUL
  25.   if errorlevel 1 goto NODOS
  26.   ncopy y:net3.com c:\dos\net3.com
  27.   goto NEWC
  28. :NODOS
  29.   status You need a subdirectory called c:\dos on your hard drive.
  30.   pause
  31. :NEWC
  32.   newauto c:\autoexec.bat -N
  33. :END
  34.